# coding=utf-8
from sqlalchemy import Column, Integer, String

from db_models.orm_base import BaseOrmClass


class RawDim(BaseOrmClass):
    '''
    模型(表)备注:
raw question的维度
    '''
    __tablename__ = 'raw_dim'

    '''   维度   '''
    dim = Column(String(20), primary_key=True)

    '''   名称   '''
    name = Column(String(45), nullable=False)

    '''   0-未导入,1-已导入   '''
    status = Column(Integer(), nullable=False)

    def __repr__(self):
        return "raw_dim(name='{self.name}',status='{self.status}')".format(self=self)

    def exclude(self): return ()
